package cn.yunyichina.provider.drug.dao;

import cn.yunyichina.provider.drug.entity.MatchedList;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import cn.yunyichina.provider.framework.annotation.MyBatisRepository;
import cn.yunyichina.provider.framework.mvc.dao.BaseDao;

import java.util.List;
import java.util.Map;

/**
*
* @Author auto_gen_by_tool
* @CreatedTime 2017-08-01 11:04:23
*/
@Repository
@MyBatisRepository
public interface MatchedListDao extends BaseDao<cn.yunyichina.provider.drug.entity.MatchedList>{
    public List<MatchedList> createMatchedList(@Param("orderNo") String orderNo, @Param("count") Integer count);

    public List<MatchedList> selectByOrder(@Param("orderNo") String orderNo);

    public void toChooseByIds(@Param("orderNo") String orderNo, @Param("companyCode") String companyCode, @Param("list") List<String> list);

    public void unChooseByIds(@Param("orderNo") String orderNo, @Param("companyCode") String companyCode, @Param("list") List<String> list);
}